package com.chuantou.yuba.api.to;

import java.util.List;

import com.google.gson.annotations.SerializedName;

import android.os.Parcel;
import android.os.Parcelable;

public class FishingListTO implements Parcelable {
	// 约钓列表
	@SerializedName("list")
	private List<FishingTO> fishingList;
	// 当前页码
	@SerializedName("p")
	private int currentPage;

	public FishingListTO() {
	}

	public FishingListTO(Parcel source) {
		// TODO 需要序列化时再做
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		// TODO 需要序列化时再做
	}

	public static final Creator<FishingListTO> CREATOR = new Creator<FishingListTO>() {

		@Override
		public FishingListTO[] newArray(int size) {
			return new FishingListTO[size];
		}

		@Override
		public FishingListTO createFromParcel(Parcel source) {
			return new FishingListTO(source);
		}
	};

	public int getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}

	public List<FishingTO> getFishingList() {
		return fishingList;
	}

	public void setFishingList(List<FishingTO> fishingList) {
		this.fishingList = fishingList;
	}

}
